/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package factoryMode.abstractFactory;

/**
 *非洲具体工厂  
 * @author root
 */
public class AfricaFactory implements ICreateFactory{

    @Override
    public IPeople createPeople() {
        return new BPeople();
    }

    @Override
    public IAnimal createAnimal() {
        return new BAnimal();
    }

    @Override
    public IPlant createPlant() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
